A Simple Reeective Interpreter Imsa '92 International Workshop on Reeection and Meta-level Architecture Tokyo, November 4-7, 1992 a Simple Reeective Interpreter

نویسنده

  • Daniel P. Friedman
چکیده

Procedurally reeective programming languages enable user programs to semantically extend the language itself, by permitting them to run at the level of the language implementation with access to their context. The reeective tower, rst introduced by Brian Smith 9, 10], is the principal architecture for such languages. It is informally described as an innnitely ascending tower of meta-circular interpreters, connected by a mechanism that allows programs at one level to run at the next higher level. Various accounts of the reeec-tive tower have been published, including a meta-circular deenition, operational deenitions, and denotational deeni-tions. We present an operational account of the main aspects of the reeective tower, which we claim is simpler than previous accounts. Our approach is to implement a nite tower where each level literally runs the level directly below it. A complete Scheme implementation is included.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards Competence Assessment for Intelligent Systems

The present paper deals with the problem of reeective behaviour in artiicial intelligence. An intelligent system is said to enjoy the ability of reeection, to some degree, if it has some ability to evaluate the quality of its own behaviour. So far, investigations in this area were exclusively focused on metalevel architectures. In this paper, reeection is understood as a problem of a system's b...

متن کامل

On the Convergence of Reeective Newton Methods for Large-scale Nonlinear Minimization Subject to Bounds 1

We consider a new algorithm, a reeective Newton method, for the problem of minimizing a smooth nonlinear function of many variables, subject to upper and/or lower bounds on some of the variables. This approach generates strictly feasible iterates by following piecewise linear paths (\reeection" paths) to generate improved iterates. The reeective Newton approach does not require identiication of...

متن کامل

Re ection on a Legacy Transaction Processing

In this paper we describe our experience applying the concepts of reeection to a legacy transaction processing (TP) monitor in order to support the implementation of extended transaction models. In the past ten years, numerous extended transaction models have been proposed to address the challenges posed by new advanced applications. Few practical implementations of these extended transaction m...

متن کامل

Ecoop'97 Workshop \corba: Implementation, Use and Evaluation" Implementing Proxy Objects in a Reeective Orb

In this short paper, we experiment reeective techniques dealing with the implemention of an ORB. We focus on a speciic problem-the proxy representation-in order to emphasize the major advantages of the reeection, i.e. exibility and reusability. More generally, in the context of the distributed computing, reeective languages provide a dynamic model allowing instrospection and modiication of the ...

متن کامل

Reeection in Java, Corba Und Jacorb

Reeection has emerged as a very exible programming technique and a structured way of achieving program adaptability. In this paper we describe similarities and diierences between the reeective facilities available in Java and CORBA and present an implementation of the CORBA Interface Repository for JacORB which makes use of Java reeection.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992